package view;

import java.awt.*;
import javax.swing.*;

/**
 * Klasse ChatroomGUI
 * 
 * @author Magnus Brieler
 */
public class ChatroomGUI extends JFrame {
	
	private static Container cp;
	
	public ChatroomGUI(String title) {
		super(title);
		setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
		setResizable(false);
		setVisible(false);
		setSize(400, 400);
		setLocation(
				((Toolkit.getDefaultToolkit().getScreenSize().width - getSize().width)) / 2,
				(Toolkit.getDefaultToolkit().getScreenSize().height - getSize().height) / 2);
		cp = getContentPane();
		
		setVisible(true);
	}
	
}